/* ============================================================
   11 INSTA — RESPONSIVE STYLESHEET
   Breakpoints: 1440px, 1024px, 768px, 480px, 375px
   ============================================================ */

/* Large Displays (<= 1440px) */
@media (max-width: 1440px) {
  :root {
    --max-width: 1200px;
  }
  .hero-heading {
    font-size: 3.5rem;
  }
}

/* Tablets & Small Desktops (<= 1024px) */
@media (max-width: 1024px) {
  :root {
    --max-width: 960px;
    --header-height: 72px;
  }

  .navbar-nav, .navbar-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  /* Hero Section */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual-wrapper {
    height: 380px;
  }

  .card-top-right {
    right: 5%;
  }

  .card-bottom-left {
    left: 5%;
  }

  /* Grid Layouts */
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Concept Flow */
  .concept-flow {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .concept-arrow {
    display: none;
  }

  .concept-step {
    flex: 1 1 30%;
    min-width: 140px;
  }

  /* Contact Layout */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .section-hero {
    padding: 6.5rem 0 3.5rem 0;
  }

  .hero-heading {
    font-size: 2.4rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card {
    padding: 1.75rem 1.5rem;
  }

  /* Development Process Timeline */
  .process-timeline::before {
    left: 24px;
  }

  .timeline-item {
    gap: 1.25rem;
  }

  .timeline-number {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
  }

  .timeline-content {
    padding: 1.25rem;
  }

  /* Contact Form */
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-card {
    padding: 1.75rem 1.25rem;
  }

  /* Hero Floating Cards */
  .hero-floating-card {
    display: none;
  }

  .hero-visual-wrapper {
    height: 280px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
  .section-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .concept-flow {
    flex-direction: column;
    gap: 1.75rem;
  }

  .concept-step {
    width: 100%;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .faq-question {
    padding: 1.25rem 1rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1rem 1.25rem 1rem;
  }
}

/* Extra Small (<= 375px) */
@media (max-width: 375px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-heading {
    font-size: 1.8rem;
  }

  .brand-logo-img {
    height: 32px;
  }
}
